/************************************************************************/
/* Game                                                                 */
/************************************************************************/
#include "Game/Factories/MarioFactory.h"


namespace TD_Game {

	BaseMario * MarioFactory::createStandardBaseMario(const WaveInfo &gWaveInfo, const Coord2D &startingPos, int pathDeviant, TerrainTilemap * const terrainTilemap) {
		
		if ( gWaveInfo.spawnType == immune)
			return(new ImmuneMario(gWaveInfo, startingPos, pathDeviant, gWaveInfo.marioHP, gWaveInfo.moneyPerMario, gWaveInfo.marioSpeed, terrainTilemap, gWaveInfo.marioType));
		else
			return(new NormalMario(gWaveInfo, startingPos, pathDeviant, gWaveInfo.marioHP, gWaveInfo.moneyPerMario, gWaveInfo.marioSpeed, terrainTilemap, gWaveInfo.marioType));
	}




}